<div style="min-width:1200px;">
<nz-breadcrumb class="breadcrumb-pos">
  <i nz-icon type="link" theme="outline" style="color:#1890FF;padding-right:4px"></i>
  <nz-breadcrumb-item>
    <a routerLink="/main/printerbill">设备抄表账单</a>
  </nz-breadcrumb-item>
  <nz-breadcrumb-item>
    详情
  </nz-breadcrumb-item>
</nz-breadcrumb>
<div class="form-div">
  <button class="add_btn" nz-button nzType="primary" routerLink="/main/printerbill">返回</button>
  <br>
  <h4>设备抄表账单详情</h4>
  <table>
    <tr>
      <td><div>设备名称</div><div>：</div><div >{{data[0].printerName}}</div></td>
      <td><div>设备位置</div><div>：</div><div>{{data[0].printerLocation?data[0].printerLocation:"-"}}</div></td>
      <td><div>租户</div><div>：</div><div>{{user[0].name}}</div></td>
      <td><div>套餐金额</div><div>：</div><div>{{data[0].setMealMoney}} 元</div></td>
      <td><div>打印金额</div><div>：</div><div>{{data[0].printMoney}} 元</div></td>
    </tr>
    <tr>
      
      <td><div>总金额</div><div>：</div><div>{{data[0].sumMoney}} 元</div></td>
      <td><div>黑白纸张单价</div><div>：</div><div>{{data[0].blackUnit}} 元</div></td>
      <td><div>彩色纸张单价</div><div>：</div><div>{{data[0].coloursUnit}} 元</div></td>
      <td><div>黑白套餐量</div><div>：</div><div>{{data[0].blackPresented}} 张</div></td>
      <td><div>彩色套餐量</div><div>：</div><div>{{data[0].coloursPresented}} 张</div></td>
    </tr>
    <tr>
      <td><div>黑白起始量</div><div>：</div><div>{{data[0].blackClearingInit}} 张</div></td>
      <td><div>黑白结束量</div><div>：</div><div>{{data[0].blackClearingEnd}} 张</div></td>
      <td><div>黑白打印量</div><div>：</div><div>{{data[0].blackYield}} 张</div></td>
      <td><div>开始日期</div><div>：</div><div>{{data[0].clearingBegin?data[0].clearingBegin.slice(0,10):'--'}}</div></td>
      <td><div>结束日期</div><div>：</div><div>{{data[0].clearingEnd?data[0].clearingEnd.slice(0,10):'--'}}</div></td>
    </tr>
    <tr>
      <td><div>彩色起始量</div><div>：</div><div>{{data[0].coloursClearingInit}} 张</div></td>
      <td><div>彩色结束量</div><div>：</div><div>{{data[0].coloursClearingEnd}} 张</div></td>
      <td><div>彩色打印量</div><div>：</div><div>{{data[0].coloursYield}} 张</div></td>
      <td><div>结算周期</div><div>：</div><div>{{data[0].clearingTypeStr}}</div></td>
      <td><div>结算次数</div><div>：</div><div>{{data[0].clearingSum}}</div></td>
    </tr>
  </table>
</div>
</div>
